package com.gsta.cdn.cdr.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.gsta.cdn.cdr.entity.ChannelConcurrent;
import com.gsta.cdn.cdr.entity.ServiceTypeRatings;
import com.gsta.cdn.cdr.mapper.ConcurrentMapper;
import com.gsta.cdn.cdr.mapper.ServiceTypeRatingsMapper;
import com.gsta.cdn.cdr.service.ConcurrentService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ConcurrentServiceImpl extends ServiceImpl<ConcurrentMapper, ChannelConcurrent> implements ConcurrentService {
    @Override
    public List<Map<String, Object>> ChannelConcurrent(String date) {
        return baseMapper.ChannelConcurrent(date);
    }

    @Override
    public List<Map<String, Object>> ConcurrentArea(String date) {
        return baseMapper.ConcurrentArea(date);
    }

    @Override
    public List<Map<String, Object>> ConcurrentByArea(String date, String area) {
        return baseMapper.ConcurrentByArea(date,area);
    }

    @Override
    public List<Map<String, Object>> ConcurrentAreaPopName(String date, String area) {
        return baseMapper.ConcurrentAreaPopName(date,area);
    }

    @Override
    public List<Map<String, Object>> ConcurrentByAreaPopName(String date, String area, String popName) {
        return baseMapper.ConcurrentByAreaPopName(date,area,popName);
    }

    @Override
    public List<Map<String, Object>> ConcurrentByPopID(String date, String popID) {
        return baseMapper.ConcurrentByPopID(date,popID);
    }

    @Override
    public List<Map<String, Object>> ConcurrentByPopName(String date, String popName) {
        return baseMapper.ConcurrentByPopName(date,popName);
    }

    @Override
    public List<Map<String, Object>> ConcurrentPopID(String date) {
        return baseMapper.ConcurrentPopID(date);
    }
}
